package com.itheima.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.domain.dto.UserDTO;
import com.itheima.domain.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    User selectByUsername(UserDTO userDTO);
    User selectById(Long id);
    void update(UserDTO userDTO, Long id);
}
